<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>Tin thể thao Việt Nam</title>

            <link type="text/css" rel="stylesheet" href="<?php echo SKIN_FPATH ?>skin/frontend/css/bootstrap.css"/>
            <link type="text/css" rel="stylesheet" href="<?php echo SKIN_FPATH ?>skin/frontend/css/default.css"/>
            <link type="text/css" rel="stylesheet" href="<?php echo SKIN_FPATH ?>skin/frontend/css/jquery-ui.css"/>
            <link href="<?php echo SKIN_FPATH ?>skin/frontend/css/vfm.css" rel="stylesheet" type="text/css"/>
            <link type="text/css" href="<?php echo SKIN_FPATH ?>skin/frontend/css/bootstrap.min.css" rel="stylesheet"/>
            <link type="text/css" href="<?php echo SKIN_FPATH ?>skin/frontend/css/style.css" rel="stylesheet"/>
            <link type="text/css" rel="Stylesheet" href="<?php echo CaptchaUrls::LayoutStylesheetUrl() ?>" />

            <script src="<?php echo SKIN_FPATH ?>skin/frontend/js/jquery-1.js"></script>
            <script src="<?php echo SKIN_FPATH ?>skin/frontend/js/bootstrap.js"></script>
            <script src="<?php echo SKIN_FPATH ?>skin/frontend/js/jquery.min.js"></script>
            <script src="<?php echo SKIN_FPATH ?>skin/frontend/js/validate.js"></script>
            <script src="<?php echo SKIN_FPATH ?>skin/frontend/js/ajax.js"></script>
            <script type="text/javascript" src="http://www.google.com/jsapi"></script>
            <script src="<?php echo SKIN_FPATH ?>skin/frontend/js/jquery.gritter.js"></script>
            <style type='text/css'>
                #bttop{border:1px solid #4adcff;background:#24bde2;text-align:center;padding:5px;position:fixed;top:100px;right:10px;cursor:pointer;display:none;color:#fff;font-size:11px;font-weight:900;}
                #bttop:hover{border:1px solid #ffa789;background:#ff6734;}
            </style>

    </head>
    <body>
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
                var js, fjs = d.getElementsByTagName(s)[0];
                if (d.getElementById(id))
                    return;
                js = d.createElement(s);
                js.id = id;
                js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
                fjs.parentNode.insertBefore(js, fjs);
            }(document, 'script', 'facebook-jssdk'));</script>
        <script type='text/javascript'>$(function() {
                $('#bttop').fadeIn();
//                $(window).scroll(function() {
//                    if ($(this).scrollTop() != 0) {
//                        
//                    } else {
//                        $('#bttop').fadeOut();
//                    }
//                });
//                $('#bttop').click(function() {
//                    $('body,html').animate({scrollTop: 0}, 800);
//                });
            });</script>
        <div class="wrap">
            <?php
            if (EMAIL != "") {
                require F_PATH . 'is_login.php';
            } else {
                require F_PATH . 'login.php';
            }
            ?>
            <div class="main">
                <div class="container">
                <?php require F_PATH . 'template/header.php'; ?>
                </div>
<?php if ($act == "") { ?>
                    <div class="container">
                        <img width="979px" src="<?php echo SKIN_FPATH ?>skin/frontend/img/Banner_1.jpg"/>
                    </div>
                        <?php } ?>
                <div class="container">
                    <div id="main" class="row">
                        <?php
                        if ($content_detail != "") {
                            require_once $content_detail;
                        } else {
                            require_once $content;
                        }
                        ?>
                    </div>
                </div>
            </div>

            <center>
                <div class="line-dub"></div>
                <div>
                    <img src="<?php echo SKIN_FPATH ?>skin/frontend/img/QuangCao.jpg"/>
                    <img src="<?php echo SKIN_FPATH ?>skin/frontend/img/QuangCao.jpg"/>
                    <img src="<?php echo SKIN_FPATH ?>skin/frontend/img/QuangCao.jpg"/>
                    <img src="<?php echo SKIN_FPATH ?>skin/frontend/img/QuangCao.jpg"/>
                    <img src="<?php echo SKIN_FPATH ?>skin/frontend/img/QuangCao.jpg"/>
                </div>
                <div class="line-dub"></div>
            </center>
<?php require F_PATH . 'template/footer.php'; ?>
        </div>
        <script type="text/javascript">
            $(document).ready(function() {
                $('.sub').hide();
                $('#bttop').click(function(e) {
                    $('.sub').toggle();
                });
<?php if ($act == "dudoan" || $act == "dudoansoxo" || $act == "dudoanbongda") { ?>
                    $('div.menu ul li').removeClass("active");
                    $('#dudoan').addClass("active");
<?php } ?>
<?php if ($act == "ketqua") { ?>
                    $('div.menu ul li').removeClass("active");
                    $('#ketqua').addClass("active");
<?php } ?>
<?php if ($act == "thele") { ?>
                    $('div.menu ul li').removeClass("active");
                    $('#thele').addClass("active");
<?php } ?>
<?php if ($act == "congdong") { ?>
                    $('div.menu ul li').removeClass("active");
                    $('#congdong').addClass("active");
<?php } ?>
<?php if ($act == "lienhe") { ?>
                    $('div.menu ul li').removeClass("active");
                    $('#lienhe').addClass("active");
<?php } ?>
<?php if ($act == "giaithuong") { ?>
                    $('div.menu ul li').removeClass("active");
                    $('#giaithuong').addClass("active");
<?php } ?>
            });
        </script>

        <a href="<?php echo SKIN_FPATH ?>list-bets"><div id='bttop'>Dự Đoán Kết Quả <span class="label label-inverse betslips-counter" id="result_bets"> <?php echo count($_SESSION["cart"]["soxo"]) + count($_SESSION["cart"]["bongda"]); ?> </span></div></a>
        <div id="BeeperBox" class="UIBeeper">
            <div class="UIBeeper_Full">
                <div class="Beeps">
                    <div class="UIBeep UIBeep_Top UIBeep_Bottom UIBeep_Selected" style="opacity: 1; ">
                        <!-- Below Is The Link To Which Bepper Will Point To (replace # with the required link) -->
                        <a class="UIBeep_NonIntentional" href="#">
                            <div class="UIBeep_Icon">
                                <i class="beeper_icon image2"></i>
                            </div>
                            <span class="beeper_x">&nbsp;</span>
                            <div class="UIBeep_Title">
                                <span class="blueName">Bạn đã dự đoán thành công.</span>.
                            </div>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>